home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASME's Mechanical Engine…ing Toolkit 1997 December
/
ASME's Mechanical Engineering Toolkit 1997 December.iso
/
ai
/
prlg195b.lzh
/
READ.ME
< prev
next >
Wrap
Text File
|
1990-02-09
|
11KB
|
397 lines
Updated 12/10/87
The distribution has grown so much that we have had to put it on
two disks.
Disk 1 contains the archive file "PDPROLOG.LZH", which contains:
1. The PDPROLOG.EXE executable.
2. The configuration program PRCONF.EXE.
3. The documentation file PROLOG.DOC
4. A simple editor.
5. The program LHARC.EXE, which is used to unpack the
archives on disk 1 and disk 2.
Disk 1 may contain ".ARC" files, which are compressed data, in
which case you should follow the instructions below to unpack the
them. Or, it may contain ".EXE" and ".DOC" files, in which case
disregard the instructions on "unpacking" disk 1. PD PROLOG
requires no installation, other than organizing the files into
working directories or disks, and possibly configuring PD PROLOG
for memory.
Disk 2 contains:
The sample and library files, contained multiple archive
files, divided by subject.
Unpacking PD PROLOG and installing it on your computer consists
of using the program LHARC.EXE to unpack the various archives,
and putting their contents on appropriate floppy discs or
subdirectories in your computer's hard drive. We have attempted
to make these instructions self contained, but that is not really
possible. IF YOU DO NOT UNDERSTAND SUBDIRECTORIES OR THE DOS
"PATH" COMMAND, FIND A KNOWLEDGABLE PERSON TO HELP YOU.
In what follows, the symbol <CR> means that you are to type the
"ENTER" key.
1
Installation on a Hard Disk
If you have a hard disk, you may wish to extract all the
archives at once. To unpack disk 1, proceed as follows.
1) Create a directory on the hard disk, which you may wish
to call "prolog" and copy pdprolog.lzh and lharc.exe into
it.
2) Run "lharc x *.*<CR>"
3) Type "del pdprolog.arc" (You have extracted all the
archives from prolog.arc, and therefore no longer need this
file.
To unpack Disk 2:
1) Create a directory which you may wish to title
"\prolog\samples" on the hard disk and copy prolog.lzh from
disk 2 into it.
2) Do a directory of disk "b:"
3) You will see that the directory contains many archive
files. Each of these archive files in turn contains prolog
source code and/or additional archive files. Create a
subdirectory on your hard disk for each. For example, create
a directory entitled "\prolog\samples\cad", for the archive
containing computer aided design programs.
4) Copy each archive file into its own directory, and clean
up the directory "\prolog\samples" by typing "erase *.*".
6) Enter each archive and run "lharc x *.*<CR>". Then "erase
*.lzh", to remove each archive from the hard disk once you
have unpacked its contents.
2
Installation on a Floppy Based System
If you have a floppy based system with only one floppy, don't
call me. Find a system with at least two floppies.
If you have a floppy based system with at least two floppies,
follow this procedure:
1) Make a backup copy of this diskette. Then unpack the
archive file "prolog.lzh", using the "lharc.exe" program
described below.
2) Format a diskette and put "command.com" on it. Then do
the following:
a) Put the formatted disk in "a:", and PD disk 1 in
"b:".
b) Log onto disk "a:".
c) Type: "lharc x b:pdprolog<CR> *.*" This will extract
the executable file "pdprolog.exe, the configuration
program "prconf.exe", and the documentation file
"prolog.doc".
d) Put disk "a:" aside. It will become your "working
diskette" in a later step.
3) Print out the documentation file "prolog.doc"
4) Since you printed out "prolog.doc", you may erase it from
the diskette to save room. Modify your working disk so that
it contains the following:
a) command.com
b) pdprolog.exe
c) prconf.exe, which is used to configure the memory
usage of PD PROLOG (see the file PROLOG.DOC)
d) a small editor, which you should rename
"prologed.com" if you wish to execute it from within
the type PD. You may use any editor of your choice, but
the smaller the better.
5) Format two diskettes and put "command.com" on each. Then
do the following:
a) Put the formatted disk in "a:" and PD disk 2 in
"b:".
b) Log onto disk "a:". Type "copy b:lharc.exe a:<CR>".
c) Remove PD disk 2 from "b:" and inser PD disk 1.
d) Type: "lharc x b:prolog <name of the archive you wish
to unpack>" This will cause the contents of the
3
selected archive to be put on disk "a:".
e) In some cases, the archive contains archive files
which must be unpacked by a similar procedure.
f) Disk "a:" now contains pieces of Prolog source code,
which are files ending with the extension ".pro".
Normally you will have the working disk in "a:", and
Prolog source code in "b:". Use the DOS "path"
command to set the search path to "a:".
4
Contents of the Disks
PD Disk 1 has the following major objects:
LHARC>EXE -
This is the program which extracts files from files
archives. A listing of commands can be obtained by invoking
it as "LHARC<CR>". To extract all the files from a
particular archive, type "LHARC <archive name, without the
"LZH"> where <CR> means "ENTER", or carriage return.
PDPROLOG.LZH -
a) PDPROLOG.EXE. The public domain, proprietary PROLOG
language interpreter. You may give PDPROLOG to anyone. If
you purchased a Prolog system from us, another disk contains
a copyrighted A.D.A. Prolog system.
b) PROLOG.DOC. You should immediately print out this
documentation, since it contains the implementation specific
information.
c) PRCONF.EXE. This program must be run before an editor can
be executed from inside PROLOG. Read PROLOG.DOC for info on
how to do it.
d) PROLOGED.COM.
A simple screen editor for invocation within Prolog. You
must configure PDPROLOG for memory before use. If the editor
does not run, you haven't configured PD PROLOG properly. If
the editor runs but does not work properly, please contact
the author, Li Su, at (612)-866-2871.
Any small editor can be installed in place of PROLOGED
simply by renaming it to have this name.
PD PROLOG Disk 2 has the following archives:
CHART.LZH
Contains a chart parser written by Peter Ross of the
University of Edinburgh. Modified slightly to bring it into
conformance with C & M Prolog.
EXPERT.LZH -
These are expert systems for specific domains of
information. Medical, rockblasting, fault diagnosis, etc.
GAMES.LZH -
Some simple board games and adventure games in Prolog. Also
a chess King-Rook-King endgame program.
GRAMMAR.LZH -
A very nice interactive ATN (augmented transition network
parser).
5
LOGIC.LZH -
Contains Skolemization program to convert Predicate Calculus
statements into Prolog statements. Covers material exposed
in Clocksin and Mellish. Also contains a Wang algorithm to
prove correctness of logical formulae.
MATH.LZH -
Contains permutation generators and symbolic algebra
programs.
PIE.LZH -
This archive contains Simon Blackwell's public domain
expert system shell program. The documentation is not
complete yet.
PUZZLES.LZH -
The encoding of puzzles in Prolog demonstrates techniques of
translating word problems into unambiguous logic.
SAMPLES.LZH -
This archive contains a variety of Prolog programming
examples which illustrate some of the points of Prolog
programming. Note that the book mentioned above
unfortunately contains numerous mistakes in the examples.
You should refer to these files for the corrections.
UTILITY.LZH -
Some reasonably useful examples of relational databases,
etc.
Bob
Support
This is not a game disk. It is extremely educational, and
requires the same kind of effort you would put into a university
computer science course.
You may call me for assistance provided that:
a) you have purchased the book "Programming in Prolog", by
Clocksin and Mellish, or are familiar with DEC-10
Prolog.
b) you have printed out prolog.doc and read it thorougly.
6